﻿using GF.Debug;
using GFFramework.GameStart;
using GFFramework.Sql;
using UnityEngine;

namespace Code.Game
{
    [GameStartAtrribute(1)]
    public class HotfixGameStart : IGameStart
    {

        public void Start()
        {
            Application.targetFrameRate = 24;
            Debugger.Log("hotfix代码 启动器连接成功!", "red");

            WebSocketConnect.CreateInstance(true);
            StaticDataUtil.CreateInstance(true);
            AudioMgr.CreateInstance(true);
            DataMgr.CreateInstance(true);
            FxPlayerMgr.CreateInstance(true);
        }

        public void Update()
        {

        }

        public void LateUpdate()
        {

        }
    }
}